package com.taxi.service;

import com.taxi.dto.DriverCarBindingRelationship;
import com.taxi.remote.ServerDriverUserClient;
import com.taxi.result.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: aniu
 * @Date: 2023/9/28
 * @ClassName: DriverCarBindingRelationshipService
 * @Description: Write class functionality and purpose here.
 * @Version: 1.0
 */
@Service
public class DriverCarBindingRelationshipService {
    @Autowired
    private ServerDriverUserClient serverDriverUserClient;
    public Result bind(DriverCarBindingRelationship driverCarBindingRelationship) {
        return serverDriverUserClient.bind(driverCarBindingRelationship);
    }

    public Result unbind(DriverCarBindingRelationship driverCarBindingRelationship) {
        return serverDriverUserClient.unbind(driverCarBindingRelationship);
    }
}
